﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;

namespace BLL
{
    public class TaiKhoanBLL:BaseBLL
    {
        public TaiKhoan LayTheoTenDangNhapVaMatKhau(string tendangnhap, string matkhau)
        {
            return DB.TaiKhoans.Where(tk => tk.TenDangNhap == tendangnhap && tk.MatKhau == matkhau).FirstOrDefault();
        }
    }
}
